package com.gwt.dispatcher.shared;

import com.gwt.dispatcher.dispatcher.shared.Result;

/**
 * Result
 * @author Cristian
 */
@SuppressWarnings("serial")
public class IncrementCounterResult implements Result {
    private int amount;
    private int current;

    /** For serialization only. REQUIRED! **/
    protected IncrementCounterResult(){}

    public IncrementCounterResult( int amount, int current ) {
        this.amount = amount;
        this.current = current;
    }

    public int getAmount() {
        return amount;
    }

    public int getCurrent() {
        return current;
    }
}